home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 4 / United Public Domain Gold 4.iso / tbag / tb014.dms / tb014.adf / Doc-Files / Utilities / ARP.Doc < prev    next >
Text File  |  1987-11-29  |  45KB  |  2,526 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.       INTRODUCTION                    October    7, 1987
  11.  
  12.  
  13.  
  14.  
  15.  
  16.       _T_h_e__P_r_o_b_l_e_m
  17.  
  18.            Take an exciting    new computer, with state of the    art
  19.       graphics and sound hardware and software, add    a multi-
  20.       tasking kernal, and then add a DOS that doesn't work well
  21.       with the rest    of the system.    This makes software less
  22.       reliable, harder to develop, and results in more headaches
  23.       and more expense for programmers and users alike.
  24.  
  25.       _T_h_e__S_o_l_u_t_i_o_n
  26.  
  27.            The solution is ARP, which stands for "AmigaDOS
  28.       Replacement Project".    ARP is an effort led by    Charlie
  29.       Heath    of Microsmiths,    Inc. to    replace    the current DOS    in a
  30.       compatible fashion, so that current programs will continue
  31.       to work, but making whatever improvements are    possible, so
  32.       that current and future programs will    work better.
  33.  
  34.       _W_h_y__i_s__A_R_P__b_e_t_t_e_r_?
  35.  
  36.            Well, that is what this entire little manual is
  37.       about, but in    brief, ARP replacement programs    are
  38.       typically much smaller and much faster than their AmigaDOS
  39.       equivalents.    It is not unusual to find ARP programs which
  40.       are less than    half the size of the program they are
  41.       intended to replace. This translates immediately into    disk
  42.       space    and memory savings for you, both precious
  43.       commodities on the Amiga.  In    addition, ARP programs often
  44.       have enhanced    features, and can do things the    original DOS
  45.       programs simply can't.  Finally, and perhaps most
  46.       importantly, they conform to clearly defined Amiga system
  47.       standards for    Amiga software,    so developers don't have to
  48.       handle a lot of special cases, which will help all Amiga
  49.       software.
  50.  
  51.       _I__n_e_v_e_r__u_s_e__t_h_e__C_L_I_,__w_h_y__s_h_o_u_l_d__I__c_a_r_e__a_b_o_u_t__A_R_P_?
  52.  
  53.            If you truly never use the CLI, then the    impact of
  54.       ARP will be less apparent to you.  But you will realize
  55.       big savings in memory    and disk space.     In addition, with a
  56.       more standard    software environment for developers,
  57.       software reliabilty will increase, and as software becomes
  58.       easier to write for the Amiga, prices    of important
  59.  
  60.  
  61.  
  62.  
  63.           (*) Though I may be more visible than Scott Ballantyne, who
  64.           wrote this manual and much of the ARP library and programs,
  65.           he has certainly been as important as I have in developing
  66.           ARP.
  67.                          ...cheath
  68.  
  69.  
  70.                     - 2    -
  71.  
  72.  
  73.  
  74.       software will    be less    than they would    be in a    difficult
  75.       development environment.
  76.  
  77.       _H_o_w__m_u_c_h__i_s__i_t__g_o_i_n_g__t_o__c_o_s_t__m_e_?
  78.  
  79.            It will cost you    the duplication    cost of    a disk,    or a
  80.       connect fee to a network to download it.  Many busy
  81.       programmers worked hard on ARP, donating large amounts of
  82.       their    time in    an effort to make the Amiga a better place
  83.       to work and play.  The emphasis here is on improving the
  84.       Amiga    environment, so    that future software will work
  85.       better, not on separating you    from your money.  (That
  86.       comes    later, when you    buy all    that neat software that    ARP
  87.       made so much easier to develop.)
  88.  
  89.       _C_a_n__I__g_i_v_e__i_t__a_w_a_y_?
  90.  
  91.            You sure    can, and we encourage you to distribute    it
  92.       as widely as possible.
  93.  
  94.       _I__a_m__a__d_e_v_e_l_o_p_e_r_,__c_a_n__I__i_n_c_l_u_d_e__i_t__o_n__m_y__c_o_m_m_e_r_c_i_a_l__d_i_s_k_s_?
  95.  
  96.            Yes, you    can and    should.     All we    ask of commercial
  97.       users    of ARP is that if you use any portion of the
  98.       arp.library in your software (and we hope you    will),
  99.       please include the rest of the ARP replacement programs as
  100.       well.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.       ARP User's Manual                October    7, 1987
  143.  
  144.  
  145.  
  146.  
  147.  
  148.       Wherein we present some of the truly outstanding features
  149.       of the new ARP programs, attempting to point the way for
  150.       new users of ARP to take immediate advantage of the ARP
  151.       software.
  152.  
  153.  
  154.       1.  _G_e_n_e_r_a_l__F_e_a_t_u_r_e_s__o_f__A_R_P__P_r_o_g_r_a_m_s
  155.  
  156.            Since one of the    goals of ARP is    to make    the Amiga
  157.       easier for you to use, we tried as hard as we    could to
  158.       make it possible for you to install ARP, and continue    to
  159.       use previously written batch files without any change    at
  160.       all.    Additionally, you should be able to use    the ARP
  161.       programs immediately,    without    learning anything more about
  162.       them,    since the degree of compatibility is very high.
  163.       However, ARP programs    are generally enhanced and improved,
  164.       and generally    much easier to use.  To    take advantage of
  165.       these    new features, you have to learn    about them, so read
  166.       on!
  167.  
  168.       1.1  _C_o_n_s_i_s_t_a_n_c_y__o_f__t_h_e__A_R_P__p_r_o_g_r_a_m_s
  169.  
  170.            One of the problems with    the original AmigaDOS
  171.       programs was that they are too inconsistant.    Some
  172.       programs accepted 10 or 20 filenames,    and also allowed you
  173.       to use wildcards to specify files.  Some programs accepted
  174.       multiple files, but didn't allow wild    cards. And some
  175.       programs accepted only one filename.    We have    tried to fix
  176.       this in ARP.    Where it is reasonable to expect to be able
  177.       to supply multiple arguments to a program, we    have
  178.       provided that    capability.  Where it is reasonable to
  179.       expect to be able to use wildcards, we have provided that
  180.       capability also.  We have attempted to make the command
  181.       templates for    programs more consistant as well, allowing
  182.       abbreviations    for commonly used switches and options.
  183.  
  184.            This consistant command interface provides a lot    of
  185.       power.  As a simple example, consider    the problem of
  186.       dumping a lot    of files to your printer for a quick
  187.       reference.  Let's say    you want to send all the files in
  188.       the current directory    which end in ".c" to the printer.
  189.       Due to the ARP command structure, there are no less than
  190.       three    ways to    do this, and all of them use remarkably
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                     - 2    -
  203.  
  204.  
  205.  
  206.       similar command lines:
  207.  
  208.  
  209.           1> Type #?.c to PRT:
  210.           1> Copy #?.c to PRT:
  211.           1> Join #?.c to PRT:
  212.  
  213.  
  214.       Incidentally,    we also    supply a more standard set of
  215.       wildcards, in    addition to the    ones in    use on the Amiga, so
  216.       you could also do
  217.  
  218.  
  219.           1> Type *.c to PRT:
  220.           1> Copy *.c to PRT:
  221.           1> Join *.c to PRT:
  222.  
  223.  
  224.       If you were to try the same thing using the AmigaDOS
  225.       programs, you    would be in for    a rude shock.  First, let's
  226.       try type:
  227.  
  228.  
  229.           1> Type #?.c to PRT:
  230.           Can't    open #?.c
  231.  
  232.  
  233.       It appears that the AmigaDOS type doesn't understand
  234.       wildcards.  Well, let's try Copy:
  235.  
  236.  
  237.           1> Copy #?.c to PRT:
  238.           Destination must be a    directory
  239.  
  240.  
  241.       Cute,    Copy lets you use wildcards, but then you can't    copy
  242.       anything to the printer.  It turns out that the only way
  243.       to send all your files to the    printer    is to specify each
  244.       one in full.    And if you wanted to use the special
  245.       capabilities of Type,    for example, to    add line numbers to
  246.       the files as you print them out, you are reduced to
  247.       multiple Type    commands, since    the AmigaDOS type only
  248.       accepts one argument.     Using the ARP Type, you can supply
  249.       multiple arguments, and each argument    can contain
  250.       wildcards.
  251.  
  252.            The main    point to notice    here is    how ARP    provides you
  253.       with a consistant command environment.  Because the ARP
  254.       programs don't impose    artificial limitations,    each command
  255.       is more powerful and more useful.  And because ARP
  256.       programs strive to be    consistant with    each other, you
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                     - 3    -
  269.  
  270.  
  271.  
  272.       don't    have to    remember silly special cases, and can apply
  273.       what you have    learned    about one program to a new one.     For
  274.       example, having noticed that Copy, Join and Type all allow
  275.       wildcards, you can probably assume that a command like
  276.       Rename does as well, and you would be    correct.  As another
  277.       example of the increased power of ARP, let's say you
  278.       wanted to move the three files memo1,    memo2 and memo3    to a
  279.       directory on the same    disk called OLD_MEMOS.    Using
  280.       AmigaDOS, you    would have to do it this way:
  281.  
  282.  
  283.           1> Rename memo1 OLD_MEMOS
  284.           1> Rename memo2 OLD_MEMOS
  285.           1> Rename memo3 OLD_MEMOS
  286.  
  287.  
  288.       This kind of thing can get old pretty    quickly.  Using    the
  289.       ARP Rename, you would    simply do
  290.  
  291.  
  292.           1> Rename memo? OLD_MEMOS
  293.  
  294.  
  295.       The '?' is of    course a wildcard that matches any single
  296.       character.
  297.  
  298.  
  299.       2.  _C_o_m_m_a_n_d_s__a_n_d__T_e_m_p_l_a_t_e_s
  300.  
  301.            When we spoke to    Amiga users, one of the    things they
  302.       liked    about the current Amiga    programs were the use of
  303.       command templates to specify the arguments to    a program.
  304.       Since    people liked this, and it seemed like a    good idea,
  305.       we kept it in    ARP.  We extended and modified individual
  306.       templates for    commands, and we also have an extended help
  307.       feature. Under AmigaDOS, if you supply a question mark (?)
  308.       as the first argument    to a command, it presents you with
  309.       its command template,    and waits for you to hand it some
  310.       arguments.  The same thing is    true of    ARP programs, but if
  311.       you need even    more information, just type another question
  312.       mark when you    get the    template, like this:
  313.  
  314.  
  315.           1> Type ?
  316.           FROMA,,,,,,,,,,TOK,OPTK: ?
  317.           Type [upto 10    files] To outfile OPT <H(ex) N(umbers)>
  318.           FROMA,,,,,,,,,,TOK,OPTK:
  319.  
  320.  
  321.       The first thing Type gives you when you supply a question
  322.       mark is its command template.     If that is not    enough
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.                     - 4    -
  335.  
  336.  
  337.  
  338.       information for you (for example, if you forget what
  339.       options you can pass to type), typing    another    question
  340.       mark after you get the template causes an additional help
  341.       message to be    displayed, and then the    template is
  342.       reprinted, and the command waits again for you to supply
  343.       it with some arguments.  This    allows you to get extra    help
  344.       for commands you don't use often, and    not be bothered    by a
  345.       lot of information for commands that you do use a lot.
  346.  
  347.            Another thing ARP tries hard to do is to    give
  348.       informative error messages.  For example, when you type
  349.       the following    under AmigaDOS:
  350.  
  351.  
  352.           1> Echo "Hello World!
  353.           Bad Args to Echo
  354.  
  355.  
  356.       You get a not    too helpful message.  The same action using
  357.       the ARP echo would cause:
  358.  
  359.  
  360.           1> Echo "Hello World!
  361.           Bad Args: Unmatched quotes
  362.  
  363.  
  364.       ARP attempts to help you identify the    problem, so you    can
  365.       fix it more rapidly.    As under AmigaDOS, you can supply
  366.       arguments to ARP programs using either keywords, or using*
  367.       positions:
  368.  
  369.  
  370.           1> Type infile
  371.           1> Type FROM infile
  372.           1> Type FROM infile TO outfile
  373.           1> Type OPT h    TO outfile FROM    infile
  374.  
  375.  
  376.       All of the above will    work.  In addition, if you make    an
  377.       error:
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.       __________
  385.  
  386.         * The template keywords are    given in upper case only for
  387.           clarity -    you can    use any    case you like.
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                     - 5    -
  401.  
  402.  
  403.  
  404.  
  405.           1> Type FROM
  406.           Bad Args: Keyword needs an argument
  407.       or
  408.           1>  Type infile From outfile
  409.           Bad Args: Bad    positional argument
  410.  
  411.  
  412.       the ARP programs once    again attempt to help you diagnose
  413.       the problem. In the first example, you specified a file by
  414.       keyword (the FROM), but left off the filename. (If you
  415.       really wanted    to type    a file by the name of FROM, you    need
  416.       to use double    quotes,    for example, Type "FROM".  ARP
  417.       programs, like AmigaDOS programs, assume that    names inside
  418.       of quotes are    filenames and not template keywords.)  In
  419.       the second case, you gave the    first argument twice, once
  420.       by position, and then    by keyword.  Type doesn't know what
  421.       you mean, since you appeared to have misused a positional
  422.       argument.
  423.  
  424.  
  425.       3.  _E_s_c_a_p_e_s
  426.  
  427.            One source of incompatibility between ARP programs (note)
  428.       and the AmigaDOS programs they are intended to replace is
  429.       that AmigaDOS    programs regard    an asterisk inside of quotes
  430.       as an    'escape' character, one    that has a special meaning.
  431.       Because so many people wanted    support    for the    asterisk as
  432.       a wildcard something had to go, since    the usages would
  433.       conflict - any given program wouldn't    be able    to tell
  434.       whether you meant to use the asterisk    as a wildcard or as
  435.       an escape character.    Since, in addition, the    use of the
  436.       "*" as an escape character was an undocumented feature of
  437.       AmigaDOS, we decided it was worthwhile to sacrifice
  438.       compatibility    on that    score.    So if you are one of those
  439.       people that discovered the "*" usage of AmigaDOS, you
  440.       won't    be able    to use batch files with    that kind of
  441.       character in it without some editing.
  442.  
  443.            ARP supports escapes, in    fact, ARP escapes are much
  444.       more flexible    than AmigaDOS escapes, which the ARP escapes
  445.       include as a subset.    The ARP    escape character* is a
  446.       backslash (\), so the    only editing you should    have to
  447.  
  448.  
  449.       __________
  450.  
  451.         * Actually,    you can    select your own    escape character if
  452.           it matters that much to you, see the ARP Programmers
  453.           Manual for more information.
  454.  
  455.  
  456.  
  457.  
  458.          NOTE - We reverted to using BCPL-compatible * as the
  459.            escape char in V1.0 of arp.library; if you prefer to
  460.            use \, there will be a setup program for V1.1
  461.  
  462.  
  463.  
  464.  
  465.  
  466.                     - 6    -
  467.  
  468.  
  469.  
  470.       perform on your batch    scripts    which use AmigaDOS escapes
  471.       is to    replace    the asterisks (*) with backslashes (\).
  472.  
  473.            ARP recognizes the following characters as special
  474.       'escape' characters:
  475.  
  476.  
  477.           \N      Newline
  478.           \T      Horizontal Tab
  479.           \V      Vertical Tab
  480.           \B      Backspace
  481.           \R      Return
  482.           \F      Formfeed
  483.           \E      Escape (ascii    27)
  484.           \Xnn      Hex number nn
  485.  
  486.  
  487.       ARP programs (like AmigaDOS) programs, will only recognize
  488.       the escape character inside of double    quotes*, so if you
  489.       want to use escapes, you must    also use the double quotes.
  490.       To include a single backslash    inside of quotes, you need
  491.       to use two of    them, like this    "\\".  You can also include
  492.       double quotes    inside of double quotes, by escaping them as
  493.       well,    for example, "\"Inside Quotes\"".  As usual, of
  494.       course, the special escape characters    can be either upper
  495.       or lower case.  If you use hex digits, there can be one or
  496.       two of them, and they    can also be either upper or lower
  497.       case.     Escapes can be    very convenient    to use,    for example,
  498.       to advance your printer paper    to the next sheet, you can
  499.       do:
  500.  
  501.  
  502.           1> Echo >PRT:    "\F"
  503.  
  504.  
  505.       Which    sends a    formfeed to the    printer.  You should
  506.       generally be careful about using escapes in filenames,
  507.       since    this can lead to confusion.  One place escape
  508.       characters might be appropriate is in    Filenotes, for
  509.       example:
  510.  
  511.  
  512.  
  513.  
  514.  
  515.       __________
  516.  
  517.         * An exception to this is Echo, which always escapes its
  518.           arguments.  This is inconsistant,    perhaps, but it
  519.           turns out    to be very convenient.
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.                     - 7    -
  533.  
  534.  
  535.  
  536.  
  537.       1> Filenote "Filename" "\X9B7mReverse    Print Comment\X9B0m"
  538.  
  539.  
  540.       Which    will cause the filenote    to List    in reverse print
  541.       when you display it, making it stand out more    clearly.
  542.  
  543.  
  544.       4.  _A_R_P__a_n_d__W_i_l_d_c_a_r_d_s
  545.  
  546.            ARP has an extensive set    of wildcards, and most ARP
  547.       programs allow them to be used.  ARP supports    ALL of the
  548.       AmigaDOS set of wildcards, as    well as    the more standard
  549.       Unix*    style of wildcards.  ARP supports the following
  550.       wildcard characters, note that these are valid inside    or
  551.       out of quotes:
  552.  
  553.  
  554.           (a|b|c)      Will match one of a, b or c.
  555.                   These    can be patterns.
  556.  
  557.           ?          Matches any single character
  558.           #<pat>      Pattern repeated 0 or    more times,
  559.                   in particular, #? matches anything.
  560.  
  561.           [char]      A set    of characters, for example,
  562.                   [abc]    or [a..c] specify the same set.
  563.  
  564.           [^char]      Match    everything but this set    of characters.
  565.           *          0 or more occurances of any character.
  566.  
  567.  
  568.       These    can be used in combination, of course, so that
  569.       *.(c|h) or *.[ch] will match any filenames ending in
  570.       either .c or .h preceeded by any number of characters,
  571.       including no characters.
  572.  
  573.            In addition, ARP    allows wildcards to be used at
  574.       multiple levels of a directory hierarchy.  For example, if
  575.       you want to type all the files in all    the directories    of
  576.       your INCLUDE directory, you could use
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.       __________
  584.  
  585.         * Unix is a    trade mark of AT&T.
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.                     - 8    -
  599.  
  600.  
  601.  
  602.  
  603.           1> Type DF0:Include/*/*
  604.  
  605.  
  606.       Which    will take care of things nicely.  You can be more
  607.       selective, for example only typing files that    start with T
  608.       in directories that start with E:
  609.  
  610.  
  611.           1> Type DF0:Include/E*/T*
  612.  
  613.  
  614.       But the best way to get used to the increased    power of the
  615.       ARP wildcard system is to sit    down and enjoy using it.
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  665.  
  666.  
  667.  
  668.      NAME
  669.       AddBuffers - Increase    the sector cache for system disk
  670.       drives.
  671.  
  672.      SYNOPSIS
  673.       AddBuffers Drive numbufs D2 B2 D3 B3 D4 B4
  674.  
  675.      DESCRIPTION
  676.       This command increases the number of disk buffers used by
  677.       the system for disk drive access.  By    increasing the number
  678.       of buffers, you can reduce disk access time at the cost of
  679.       losing memory    to the sector cache.  The ARP version of
  680.       AddBuffers allows you    to specify up to four pairs of drive
  681.       number of buffers in one command.  AddBuffers    DF0: 15
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.      Page 1                         (printed 10/6/87)
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  731.  
  732.  
  733.  
  734.      NAME
  735.       Assign - Binds a device name to a directory.
  736.  
  737.      SYNOPSIS
  738.       Assign NAME: DIRECTORY <total    of 10 pairs> LIST/S
  739.  
  740.      DESCRIPTION
  741.       Assign causes    NAME: to be a synonym for DIRECTORY or
  742.       Pathname.  This is refered to    as a "logical" device, since
  743.       it appears to    the amiga and the user as a device, but    is in
  744.       fact a directory.  You can use this as a convenient short
  745.       hand to refer    to lengthy pathnames, or to refer to a variety
  746.       of different directories by the same name (just change the
  747.       assignment when you want the program to change directories).
  748.       You can remove assignments by    giving only NAME:, without a
  749.       directory path to assign it to.  Typing Assign by itself, or
  750.       Assign LIST, will display the    current    logical    assignments.
  751.  
  752.      EXAMPLE
  753.       ASSIGN  DICTIONARY:  df1:usr/lib/dictionary DICTIONARY: may
  754.       now be used as a synonym for the complete path
  755.       df1:usr/lib/dictionary.  If a    program    uses the logical
  756.       device DICTIONARY:  rather than a hardcoded directory    name,
  757.       then changing    the DICTIONARY:     assignment will change    the
  758.       dictionary that the program will use.
  759.  
  760.      ARP EXTRAS
  761.       Up to    10 pairs of Assignments    may be made with one command.
  762.  
  763.      CAUTIONS
  764.       Random or careless assignments of the    Amiga's    pre-assigned
  765.       devices can cause mass confusion.
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.      Page 1                         (printed 10/6/87)
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  797.  
  798.  
  799.  
  800.      NAME
  801.       Break    - Send a signal    to a background    process.
  802.  
  803.      SYNOPSIS
  804.       Break    <task> <all> <c> <d> <e> <f>
  805.  
  806.      Description
  807.       Many programs    which run from the CLI will respond to the
  808.       typing of one    of the control characters C D E    or F.  By far
  809.       the most common is control-C which usually causes a process
  810.       to terminate.     If you    execute    a task in the background (by
  811.       using    Run), you will not be able to send it a    break signal
  812.       from the keyboard, and that is where Break comes in.    Once
  813.       you know the task number of the process you wish to signal
  814.       (available immediately after you run the process or by using
  815.       the Status program), you can send one    of these control
  816.       signals to the background process.
  817.  
  818.      EXAMPLE
  819.       To send a control C to background process number 2:
  820.  
  821.       Break    2 C or Break 2 (Break defaults to control C)
  822.  
  823.       To send ALL control signals to background process number 3
  824.  
  825.       Break    3 C D E    F or Break 3 ALL
  826.  
  827.      CONSIDERATIONS
  828.       Not all programs respond to break requests.
  829.  
  830.      SEE ALSO
  831.       Status
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.      Page 1                         (printed 10/6/87)
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  863.  
  864.  
  865.  
  866.      NAME
  867.       CD - Report or change    the current directory.
  868.  
  869.      SYNOPSIS
  870.       CD DIR
  871.  
  872.      DESCRIPTION
  873.       CD when given    a valid    directory name,    makes that directory
  874.       the current or default working directory.  To    display    the
  875.       current directory, type CD without any arguments.  (For a
  876.       really nifty way to do this, see the ARP prompt
  877.       replacement).
  878.  
  879.      EXAMPLE
  880.       CD DF0:LIBS     change    directory to df0:libs
  881.  
  882.       CD        report current directory
  883.  
  884.      SEE ALSO
  885.       Prompt
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.      Page 1                         (printed 10/6/87)
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  929.  
  930.  
  931.  
  932.      NAME
  933.       ChangeTaskPri    - Change a tasks execution priority
  934.  
  935.      SYNOPSIS
  936.       ChangeTaskPri    <pri> TASK <num>
  937.  
  938.      DESCRIPTION
  939.       By increasing/decreasing the priority    of various tasks in
  940.       the system, you can increase/decrease    the amount of time
  941.       each is run per quantum.  The    ARP version of this command
  942.       checks the value of your priority, and also allows you to
  943.       change task priorities of currently running tasks.  This
  944.       should be performed with care.  If no    task number is
  945.       entered, this    command    uses the currently executing task.
  946.  
  947.      EXAMPLE
  948.       ChangeTaskPri    -5 TASK    3
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.      Page 1                         (printed 10/6/87)
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  995.  
  996.  
  997.  
  998.      NAME
  999.       Delete - Delete up to    ten files or directories.
  1000.  
  1001.      SYNOPSIS
  1002.       Delete [up to    10 names] ALL QUIET ASK
  1003.  
  1004.      DESCRIPTION
  1005.       Delete deletes the names you specify,    if there is a problem
  1006.       with the deletion delete will    inform you.  If    you wish to
  1007.       delete a directory that contains other files,    you must use
  1008.       the ALL switch.  As with most    ARP commands that deal with
  1009.       Files, you can specify a wildcard pattern in any or all of
  1010.       the positions.
  1011.  
  1012.       ARP also allows you to interactively delete the files    by
  1013.       specifying the ASK switch.  If you use ASK, delete will
  1014.       display the files one    by one,    with a question    mark.  If you
  1015.       type 'Y' followed by return, the file    will be    deleted, and
  1016.       the next one will be displayed.  Any other character will
  1017.       not cause the    file to    be deleted.
  1018.  
  1019.       If you use wildcards,    Delete will display the    names of the
  1020.       files    as they    are deleted.  You can prevent this by using
  1021.       the QUIET switch.
  1022.  
  1023.      EXAMPLE
  1024.       Delete * or Delete #?        Delete all files in the
  1025.       current directory
  1026.  
  1027.       Delete * ASK or Delete * A    Ask about deleteing each file
  1028.       in the current directory.
  1029.  
  1030.       Delete file1 file2 file3 Delete file1    file2 and file3
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.      Page 1                         (printed 10/6/87)
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1061.  
  1062.  
  1063.  
  1064.      NAME
  1065.       DiskChange - Inform AmigaDOS that a disk has been changed in
  1066.       a drive.
  1067.  
  1068.      SYNOPSIS
  1069.       DiskChange DRIVE
  1070.  
  1071.      DESCRIPTION
  1072.       5 1/4    inch disks do not detect when there has    been a disk
  1073.       swap,    and therefore cannot inform AmigaDOS.  After changing
  1074.       disks    in the 5 1/4 inch disk drive, issue the    command
  1075.       DiskChange.
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.      Page 1                         (printed 10/6/87)
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1127.  
  1128.  
  1129.  
  1130.      NAME
  1131.       Echo - Displays its argument(s) to the terminal.
  1132.  
  1133.      SYNOPSIS
  1134.       Echo This String or Echo "This String"
  1135.  
  1136.      DESCRIPTION
  1137.       Echo displays    its argument to    the current output, this can
  1138.       be the printer, a file or the    terminal. Echo is typically
  1139.       used in Batch    files, but it can also be used (and useful) to
  1140.       send escape sequences    to things like printers.
  1141.  
  1142.       ARP's    Echo does not require quotes, and it is    also the only
  1143.       ARP command that will    recognize escapes in both quoted and
  1144.       unquoted strings.
  1145.  
  1146.      EXAMPLE
  1147.       Echo "Hello World!" displays Hello World on the terminal
  1148.  
  1149.       Echo >PRT: \FHello World!  advances the printer paper, and
  1150.       displays Hello World!    on the printer.
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.      Page 1                         (printed 10/6/87)
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1193.  
  1194.  
  1195.  
  1196.      NAME
  1197.       Failat - To set a fail level for a batch file.
  1198.  
  1199.      SYNOPSIS
  1200.       Failat <numeric>  to set a new fail level
  1201.  
  1202.       Failat     to display the    current    fail level
  1203.  
  1204.      DESCRIPTION
  1205.       When using Execute to    run batch files, any command that
  1206.       returns an error greater than    the current value of the Fail
  1207.       level    will cause execute to stop with    an error message.  You
  1208.       can use Failat to increase or    decrease this level to
  1209.       whatever you like.  If you use Failat    inside of a batch
  1210.       file,    the fail level is set for that file only.  If you use
  1211.       Failat directly from the CLI,    you set    a global fail level.
  1212.  
  1213.      EXAMPLE
  1214.       Failat 30 ; bump fail    level
  1215.  
  1216.       This now makes it possible to    execute    commands that return
  1217.       error    codes greater than 20, which would ordinarily cause
  1218.       Execute to stop with an error    message.
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.      Page 1                         (printed 10/6/87)
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1259.  
  1260.  
  1261.  
  1262.      NAME
  1263.       Filenote - Sets a comment for    a file
  1264.  
  1265.      SYNOPSIS
  1266.       Filenote "FILENAME" "COMMENT"
  1267.  
  1268.      DESCRIPTION
  1269.       You can set a    comment    for a file of upto 80 characters using
  1270.       this command.     You can also remove the comment for a file
  1271.       using    this command by    specifying a null comment string.
  1272.       Comments may be viewed with the list command.
  1273.  
  1274.      EXAMPLE
  1275.       Filenote "Echo" "Echo    displays strings"
  1276.  
  1277.       Filenote "Echo" ""  ;    removes    the comment
  1278.  
  1279.      PROBLEMS
  1280.       There    are several bugs associated with the AmigaDOS filenote
  1281.       which    have not yet been fixed    in this    release    of ARP.    For
  1282.       example, if you copy a file the filenote will    not be copied.
  1283.       If you write over a file, the    old filenote will remain.
  1284.       These    bugs will be fixed in a    later release of the copy
  1285.       program.
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.      Page 1                         (printed 10/6/87)
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1325.  
  1326.  
  1327.  
  1328.      NAME
  1329.       IF - test for    conditionals in    batch files
  1330.  
  1331.      SYNOPSIS
  1332.       IF <condition    to test    for>
  1333.  
  1334.      DESCRIPTION
  1335.       You can use this command to provide some logic for batch
  1336.       files. You can test for the presence of a file using the
  1337.       EXISTS <filename> keyword, you can compare two strings for
  1338.       equality (disregarding case) using the EQ keyword ( "string"
  1339.       EQ "string") you can test for    the previous programs return
  1340.       codes    WARN >=    5, ERROR >= 10,    FAIL >=    20.  You can also
  1341.       combine any one of these commands with NOT, which inverts
  1342.       the result. I.E., if a file does exists, then    NOT EXISTS
  1343.       <file> will return FALSE, and    cause the IF to    fail.  When IF
  1344.       fails, it moves the execution    of the file ahead to the next
  1345.       ELSE or ENDIF    command.  ELSE and ENDIF are bound to the most
  1346.       recent IF.
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.      Page 1                         (printed 10/6/87)
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1391.  
  1392.  
  1393.  
  1394.      NAME
  1395.       Info - report    information about each disk.
  1396.  
  1397.      SYNOPSIS
  1398.       Info
  1399.  
  1400.      Description
  1401.       This command takes no    arguments, but displays    important and
  1402.       useful information about each    disk unit.  It is important to
  1403.       note that the    ARP info command fixes a bug in    the AmigaDOS
  1404.       Info.     ARP's info displays formatted capacity, which is
  1405.       generally more useful    than the information AmigaDOS gives
  1406.       you.    Therefore, the values for total    capacity in this info
  1407.       command will be less than that in the    AmigaDOS info.
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.      Page 1                         (printed 10/6/87)
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1457.  
  1458.  
  1459.  
  1460.      NAME
  1461.       Join - To combine upto 15 files to form a new    file.
  1462.  
  1463.      SYNOPSIS
  1464.       Join f1 f2 f3    f4.... AS UltimateFile
  1465.  
  1466.      DESCRIPTION
  1467.       This program combines    several    files into one larger file,
  1468.       which    may be a device    such as    a printer or modem.  Like most
  1469.       ARP commands,    it accepts wildcards as    its arguments.    This
  1470.       command will alphabatize the wildcarded filenames before
  1471.       using    them.
  1472.  
  1473.      ADDITIONAL    CONSIDERATIONS
  1474.       Given    the added capabilities of the ARP Type program,    Join
  1475.       is pretty useless and    could be dispensed with.  It is
  1476.       included for backward's compatibility    with batch scripts.
  1477.  
  1478.  
  1479.  
  1480.      NOTE
  1481.           The one advantage of Join is that it runs a bit faster
  1482.           when you join large files.
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.      Page 1                         (printed 10/6/87)
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1523.  
  1524.  
  1525.  
  1526.      NAME
  1527.       Lab -    Define a label for Skip
  1528.  
  1529.      SYNOPSIS
  1530.       Lab label_name
  1531.  
  1532.      DESCRIPTION
  1533.       Lab is used to define    a label    for use    with skip.  Lab    by
  1534.       itself defines a null    label.
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.      Page 1                         (printed 10/6/87)
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1589.  
  1590.  
  1591.  
  1592.      NAME
  1593.       MakeDir - Create upto    ten new    directories
  1594.  
  1595.      SYNOPSIS
  1596.       MakeDir dir1 dir2 ...    dir10
  1597.  
  1598.      DESCRIPTION
  1599.       MakeDir creates a new    directory with the name    you give.  Up
  1600.       to 10    directories may    be created at one time.     Note that you
  1601.       cannot duplicate directories    at the same level of the
  1602.       directory tree.
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.      Page 1                         (printed 10/6/87)
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1655.  
  1656.  
  1657.  
  1658.      NAME
  1659.       Path - Set the CLI search path for executable    files
  1660.  
  1661.      SYNOPSIS
  1662.       Path <dir1 ..    dir10> ADD RESET SHOW
  1663.  
  1664.      DESCRIPTION
  1665.       The Path command lets    you add    directories to the places
  1666.       AmigaDOS looks for executable    programs.  By default AmigaDOS
  1667.       looks    in the current directory, and then in the C: logical
  1668.       device (set by using Assign).     You can add directories to
  1669.       search between these two points by using Path.  You can add
  1670.       directories using the    ADD switch, you    can RESET the path to
  1671.       the default with the RESET switch, and using SHOW or simply
  1672.       typing Path with no arguments    displays the current search
  1673.       path.
  1674.  
  1675.      EXAMPLES
  1676.       Path ; show the current path
  1677.  
  1678.       Path ADD df1:    df2:  ;    add drives df1:    and df2: to the    search
  1679.       path
  1680.  
  1681.       Path RESET df1: df2:       ; first reset the path, and then
  1682.       add drives df1 and df2:
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.      Page 1                         (printed 10/6/87)
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1721.  
  1722.  
  1723.  
  1724.      NAME
  1725.       Prompt - set the current CLI prompt
  1726.  
  1727.      SYNOPSIS
  1728.       Prompt "NEW PROMPT"
  1729.  
  1730.      DESCRIPTION
  1731.       Prompt sets a    new prompt for the CLI.     If you    use Prompt
  1732.       with no argument, it resets the cli prompt to    the default
  1733.       prompt.  ARP's prompt    recognizes two special characters %N,
  1734.       which    will be    displayed as the current process number, and
  1735.       %p, which will be displayed as the current directory.     If
  1736.       you use %p in    a prompt string, successive CD will also
  1737.       change the prompt.  The total    length of a prompt string,
  1738.       including the    directory name,    is limited to 69 characters.
  1739.       This is a CLI    limitation which ARP must currently struggle
  1740.       against.
  1741.  
  1742.      EXAMPLE
  1743.       Prompt "%N %p"
  1744.  
  1745.       If the current directory is Workbench: this prompt string
  1746.       will display
  1747.  
  1748.       1 Workbench:>
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.      Page 1                         (printed 10/6/87)
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1787.  
  1788.  
  1789.  
  1790.      NAME
  1791.       Protect - To set files protection status
  1792.  
  1793.      SYNOPSIS
  1794.       Protect "FILES" FLAGS    <QUIET>
  1795.  
  1796.      DESCRIPTION
  1797.       Protect is used to set the protection    level of a file    or
  1798.       files.  You may set the protection level for multiple    files,
  1799.       since    this command, like most    ARP commands, accepts
  1800.       wildcards.  The various flags    that may be set    are R=Reads
  1801.       allowed W=Writes allowed, E=Execution    allowed, D=Deletes
  1802.       allowed.  If you omit    an option flag in the Protect command,
  1803.       Protect will disallow    that operation on the file.  If    you
  1804.       use wildcards, protect will display the file being altered,
  1805.       and the protection level it is being set to.    If you use the
  1806.       QUIET    switch,    then Protect will not display this
  1807.       information.
  1808.  
  1809.      EXAMPLE
  1810.       Protect *.c RWE       ; keep all files ending in ".c"
  1811.       from being deleted
  1812.  
  1813.      BUGS
  1814.       Note that the    current    version    of AmigaDOS only checks    the
  1815.       status of the    Delete flag for    a file.     You may set/clear the
  1816.       other    flags with this    command, but AmigaDOS will ignore
  1817.       them.
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.      Page 1                         (printed 10/6/87)
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1853.  
  1854.  
  1855.  
  1856.      NAME
  1857.       Quit - Exit from a batch file    with the given error code.
  1858.  
  1859.      SYNOPSIS
  1860.       Quit <optional error code>
  1861.  
  1862.      DESCRIPTION
  1863.       Quit forces an exit from the currently executing batch file.
  1864.       If given a numeric argument, it will return this as it's own
  1865.       return code.
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.      Page 1                         (printed 10/6/87)
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1919.  
  1920.  
  1921.  
  1922.      NAME
  1923.       Relabel - Change the name of a disk.
  1924.  
  1925.      SYNOPSIS
  1926.       Relabel DRIVE    NewName
  1927.  
  1928.      DESCRIPTION
  1929.       You use Relabel to rename a disk.  That's about all there is
  1930.       to it.
  1931.  
  1932.      EXAMPLE
  1933.       Relabel DF0: "MyWorkbench"  -    changes    the name of the    disk
  1934.       in df0: to MyWorkbench.
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.      Page 1                         (printed 10/6/87)
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  1985.  
  1986.  
  1987.  
  1988.      NAME
  1989.       Rename - To rename or    move files and directories.
  1990.  
  1991.      SYNOPSIS
  1992.       Rename FILE TO FILE or directory.
  1993.  
  1994.      DESCRIPTION
  1995.       Rename changes the names of your files.  If the file already
  1996.       exists, or if    you attempt to Rename a    file from one disk
  1997.       device to another, Rename will fail.    You may    use wildcards
  1998.       to move many files from one filename to another, or you may
  1999.       use wildcards    to move    many files from    one directory to
  2000.       another. Note    that using Rename to move files    is quicker and
  2001.       cleaner than using Copy and then delete.
  2002.  
  2003.      EXAMPLE
  2004.       Given    a disk with the    files CA CB and    CC on it, you want to
  2005.       rename them all to be    BA BB and BC. The following rename
  2006.       command will perform this task.
  2007.  
  2008.            Rename c* B*
  2009.  
  2010.       On the other hand, if    you want to move all the files from
  2011.       the current directory    to the directory Save_Me you would use
  2012.       this form of the command:
  2013.  
  2014.       Rename * to Save_Me
  2015.  
  2016.       In cases like    these two, Rename will display the names of
  2017.       the files it is working on, unless you specify the QUIET
  2018.       switch to Rename.
  2019.  
  2020.     NOTE
  2021.           When renaming with wildcards, please only use #? or * and
  2022.           not the other wildcard characters, until V1.1 of ARP, or
  2023.           the results may not be what you expected.
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.      Page 1                         (printed 10/6/87)
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  2051.  
  2052.  
  2053.  
  2054.      NAME
  2055.       Skip - Skip to the appropriate label.
  2056.  
  2057.      SYNOPSIS
  2058.       Skip <optional labelname>
  2059.  
  2060.      DESCRIPTION
  2061.       Skip moves the currently executing BATCH file    ahead until it
  2062.       finds    a lab declaration which    matches    its own    argument.  If
  2063.       Skip is used without an argument, it looks for a Lab without
  2064.       an argument.    Note that it is    not possible to    skip backwards
  2065.       in batch files.
  2066.  
  2067.      EXAMPLE
  2068.       Skip Dodah     ; skip    to Lab Dodah
  2069.  
  2070.  
  2071.       By using the idiom "Skip ?", you can request a user to give
  2072.       you a    label, and jump    to that    portion    of the batch file.
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.      Page 1                         (printed 10/6/87)
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  2117.  
  2118.  
  2119.  
  2120.      NAME
  2121.       Sort - Sort a    file
  2122.  
  2123.      Synopsis
  2124.       Sort FROM <file> TO <file> <start col> <for width> <case
  2125.       sensitive>
  2126.  
  2127.      DESCRIPTION
  2128.       Sort attempts    to remedy the defects of the AmigaDOS sort
  2129.       command.  It sorts text files, and you may specify, using
  2130.       the CASE keyword, whether or not the sort is case sensitive.
  2131.       The default is to ignore case.  You may specify a column to
  2132.       start    sorting    at, and/or the number of characters per    line
  2133.       to examine during the    sort (the width).  Unlike the AmigaDOS
  2134.       sort command,    this program is    quite fast even    for very large
  2135.       files, and it    will not crash the Amiga if your file is too
  2136.       large    to sort, it simply informs you that it cannot sort
  2137.       your file. This is not likely    to happen, since Sort can
  2138.       handle most files that will fit into the memory of the
  2139.       computer.
  2140.  
  2141.      Example
  2142.       list >listfile
  2143.  
  2144.       sort listfile    colstart 32
  2145.  
  2146.       Gives    a listing of all files sorted by time (i.e., from the
  2147.       earliest to the latest).
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.      Page 1                         (printed 10/6/87)
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  2183.  
  2184.  
  2185.  
  2186.      NAME
  2187.       Stack    - Set or display the current stack size.
  2188.  
  2189.      SYNOPSIS
  2190.       Stack    <amount>
  2191.  
  2192.      DESCRIPTION
  2193.       Most programs    require    more stack than    the default setting of
  2194.       the Amiga's stack will give them.  You can use this command
  2195.       to display the current amount    of stack (by using Stack
  2196.       without an argument),    or you can change the current amount
  2197.       of stack by providing    an integer argument to stack.
  2198.  
  2199.      EXAMPLE
  2200.       Stack    10240     ; obtain a good healthy stack for programs
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.      Page 1                         (printed 10/6/87)
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  2249.  
  2250.  
  2251.  
  2252.      NAME
  2253.       Status - Display the currently running CLI processes
  2254.  
  2255.      SYNOPSIS
  2256.       Status <optional task    number>    FULL TCB CLI
  2257.  
  2258.      DESCRIPTION
  2259.       The most common use of Status    is to find what    background
  2260.       processes are    still executing, this can be in    preparation to
  2261.       sending them a signal    with Break, or to find out if all your
  2262.       programs are completed before    turning    of the computer.  The
  2263.       various options to this command display information which
  2264.       may or may not be useful, depending on your needs.  The
  2265.       default behaviour of Status is to display the    CLI numbers
  2266.       and names of all currently active processes.    You can    get
  2267.       information on a specific process by typing Status <task
  2268.       number>.
  2269.  
  2270.      EXAMPLE
  2271.       Status FULL     ; find    out everything about all executing
  2272.       processes.
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.      Page 1                         (printed 10/6/87)
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.      ARP(REL1)             ARP User's    Manual             ARP(REL1)
  2315.  
  2316.  
  2317.  
  2318.      NAME
  2319.       Type - Type a    file, possibly with line numbers or in hex.
  2320.  
  2321.      SYNOPSIS
  2322.       Type File < upto 15 files> TO    file OPT H N
  2323.  
  2324.      DESCRIPTION
  2325.       Type displays    a file on the current window, or, if a TO
  2326.       argument is supplied,    to a file.  With the ARP version of
  2327.       Type,    you can    type many files    with one TYPE command, and use
  2328.       wildcards as well.  Note that    due to this enhancement    of
  2329.       Type it is possible to dispense with Join, since Type    can do
  2330.       Join's job as    well as    its own.  You can type a file with
  2331.       line numbers by giving it the    option N.  If you use option
  2332.       H, you will get a hex    dump of    the file.
  2333.  
  2334.      EXAMPLE
  2335.       Type Type OPT    H       ; Type a binary file    in hex.
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.      Page 1                         (printed 10/6/87)
  2374.  
  2375.  
  2376.  
  2377. During the last phase of beta-testing, one of our testers found a
  2378. problem when using the ARP assign after having used the original
  2379. BCPL assign to create an assigned name in Ram:, which may cause a
  2380. GURU when you use assign LIST.  We have never seen this problem
  2381. except when mixing BCPL and ARP assign; you will probably not
  2382. have any problems once the BCPL version is removed from your
  2383. diskettes.
  2384.  
  2385. BUG (10/14/87) --- "Type" has been temporarily yanked, a bug was
  2386. found that could cause a GURU with large files or many files using
  2387. wildcards.  Use "Join" for now.
  2388.  
  2389. ARP is a freely redistributable program, though the ARP Authors
  2390. have retained Copyright on the software.  We encourage you to give it
  2391. to friends and make its use as widespread as possible.  We request
  2392. that you distribute this diskette unmodified, to help us insure that
  2393. anyone getting an "ARP" diskette has the real thing.
  2394.  
  2395. For BBS distribution, we will release ARC files with most of the
  2396. contents of this diskette shortly; please re-distribute these
  2397. ARC files rather than creating your own ARC.
  2398.  
  2399. For users groups and other vendors of PD diskettes, we request that
  2400. you purchase one original ARP diskette from the address below, for
  2401. $5 check or money order (after Dec 31 '87 please send an SASE to
  2402. verify we are still supporting ARP before sending any $$$).  This
  2403. is to insure that you will have a clean copy of the most recent
  2404. release of ARP.  Any individual wanting to get a copy of the most
  2405. recent ARP diskette may also do so directly from ARP Support for
  2406. $5, which will also get you on the ARP mailing list for update
  2407. notification; remember to send an SASE for verification
  2408. after 12/31/87.
  2409.  
  2410. Also for PD diskette distributors, if you want to use the ARP logo for
  2411. diskette labels, these are NOT freely redistributable; you must purchase
  2412. them directly from ARP Support.  We have not determined the price
  2413. for this yet; likely it will be $0.50 apiece for a serialized label
  2414. with mail-in registration card.
  2415.  
  2416. For commercial developers, we encourage you to use arp.library in
  2417. your programs, and to include the ARP CLI commands as well.  Also,
  2418. we encourage you to use the ARP logo in your packaging; you can
  2419. get stats from the artist at cost.  We will have a programmers
  2420. diskette available RSN, which you can get from ARP support for $5;
  2421. most of the same information will be available as ARC files on BBS's
  2422. as well.
  2423.  
  2424. Contact us at the address below for details:
  2425.  
  2426.                 ARP Support
  2427.                 c/o Microsmiths, Inc
  2428.                 PO Box 561
  2429.                 Cambridge, MA 02140
  2430.                 BIX: cheath   CIS: 74216,2117
  2431. These are some of the people that have helped make ARP a reality:
  2432.  
  2433. Scott Ballantyne, who did much of the work developing arp.library,
  2434. and many of the command replacements, and maintained interest in
  2435. the ARP project during spring '87 when my interest had waned.
  2436. Without Scott, there would be no ARP.
  2437.  
  2438. Harold W. Norris, who coined the term "ARP" in the early BIX
  2439. discussions of ARP.
  2440.  
  2441. Chuck McManis, who implemented Assign and Info in C, tackling the
  2442. tough BCPL data structures I didn't want to touch!
  2443.  
  2444. Willy Langeveld, who helped out with wildcards and several other
  2445. C programs.
  2446.  
  2447. John Toebes, who wrote the final wildcard functions which solved
  2448. our dilemma of which sort of wildcards to support.  John also
  2449. provided inspiration that the ARP project could be a sucess by
  2450. his interest in developing a faster filesystem.
  2451.  
  2452. Les Noland, who is the ultimate Beta-Tester.  If you ever want
  2453. something smoked out to the max, Les is your man.
  2454.  
  2455. Larry Phillips, our CIS connection.
  2456.  
  2457. Brian Dueck, who is working on Modula-II library bindings.
  2458.  
  2459. Chris Nicotra, who is working on Manx C library bindings.
  2460.  
  2461. David Milligan, my old pal, another Beta tester.
  2462.  
  2463. Joanne Dow, who has been subjected to N^15 different versions of
  2464. arp.library.  Honest, Joanne, any new versions will be backwards
  2465. compatible with this one!
  2466.  
  2467. Bill Hawes, who is working on a replacement for dos.library, the
  2468. Third Pillar in the quest for a New DOS.
  2469.  
  2470. Andy Finkel at Commodore, who we have been pestering for the past
  2471. 9 months trying to get Commodore to pick up ARP for use on the
  2472. WorkBench diskette, and without whom we would probably not have
  2473. implemented ARP in a manner to attempt to be 100% backwards compatible
  2474. with the original BCPL command programs.
  2475.  
  2476. Many other people I'm sure I've forgotten as I drift off to sleep
  2477. after sealing the write-protect notch on V1.0 of ARP.
  2478.  
  2479. To all these people, thank you!
  2480.     ...cheath
  2481. To install Arp, use the batch file "ExecuteMe".  This batch program
  2482. will copy all of the ARP executables to your current C: directory,
  2483. as well as copying ARPLIB to "libs:arp.library".
  2484.  
  2485. We reccommend you try ARP first with a scratch-diskette duplicate
  2486. of your normal WorkBench CLI disk before subjecting your valuable
  2487. work to the new operating environment; we expect you should have
  2488. no problems, but if you do we'd rather you not loose any irreplacable
  2489. data.
  2490.  
  2491. The most likely problem you will have with ARP is that you will
  2492. not have arp.library in your system disk libs: directory, which
  2493. will cause all the ARP programs to display a recoverable alert
  2494. that looks rather like a GURU.  When you get an 036.xxx alert
  2495. number, this is what has happened; to solve this problem, you
  2496. need to copy the library into the currently used libs: directory.
  2497.  
  2498. A similar situation may occur in your Startup-Sequence, if you
  2499. reassign your C: directory before setting up Libs: to a directory
  2500. that has arp.library in it.  In this case, you must either make sure
  2501. there is a copy of arp.library in the libs: dir of the boot disk,
  2502. or you must do the Assign of libs: before changing C:
  2503.  
  2504. Thank you for using ARP, once you get over the initial hurdles
  2505. we think you'll be glad you went through the effort of setting it
  2506. up!
  2507. V1.02 of ARP                Oct 17 '87
  2508.  
  2509. This revision replaces TYPE, JOIN and ASSIGN from the original
  2510. release, all three of which could cause a GURU.  In this release
  2511. all three are fixed; there are no other known problems at this
  2512. time.
  2513.     ...cheath
  2514. We plan to continue to enhance ARP, finishing off the commands we could
  2515. not complete for the V1.0 release of ARP, and solving any problems that
  2516. arise when ARP gets into widespread use.  We will appreciate your
  2517. reporting any problems you have using ARP so we can try to solve them.
  2518.  
  2519. You may report problems to the address below:
  2520.  
  2521.             Arp Support
  2522.             c/o Microsmiths, Inc
  2523.             PO Box 561
  2524.             Cambridge, MA 02140
  2525.             BIX: cheath   CIS: 74216,2117
  2526.